<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="public/bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" href="style.css" />
		<script src="public/js/jquery-3.2.1.js"></script>
		<script src="public/bootstrap/js/bootstrap.min.js"></script>
		<script src="public/js/holder.min.js"></script>
		<link rel="stylesheet" href="public/css/style.css" />
		<link rel="stylesheet" href="public/bootstrap/css/bootstrap-select.min.js" />
		<link rel="stylesheet" href="public/bootstrap/css/countrypicker.min.js" />
		<script src="public/bootstrap/js/bootstrap-select.js"></script>
	</head>
	<style>
	</style>
	<script type="text/javascript">
	    window.onload=function(){
	    	alert("aaa");
			var select = $("#slpk");
        	alert("aaaaaaa");
        	alert(select);
//          select.append("<option value='"+1+"'>" + a + "</option>");
//          select.append("<option value='"+1+"'>" + a + "</option>");  
//          select.append("<option value='"+1+"'>" + a + "</option>");  
//          select.append("<option value='"+1+"'>" + a + "</option>");  
//          select.append("<option value='"+1+"'>" + a + "</option>");  
//          select.append("<option value='"+1+"'>" + a + "</option>");
           	alert("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
            $('.selectpicker').selectpicker('val', '');
            $('.selectpicker').selectpicker('refresh'); 
            alert("bbbbbbbbbbbb");
		}
	</script>
	<body>
		<select id="slpk" class="selectpicker" data-live-search="true">
			<option value="aaaaaaaa">竞赛部</option>
			<option value="bbbbbbbb">培训部</option>
			<option value="bbbbbbbb">项目部</option>
			<option value="bbbbbbbb">宣传部</option>
			<option value="bbbbbbbb">办公室</option>
		</select>
	</body>
</html>
